package com.sqsf.service.impl;

import com.sqsf.javabean.Video;
import com.sqsf.mapper.VideoMapper;
import com.sqsf.service.VideoStuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoStuServiceImpl implements VideoStuService {
    @Autowired
    VideoMapper videoMapper;
    @Override
    public List<Video> findAll(String courseName) {
        return videoMapper.selectAll(courseName);
    }
}